//
//  LSZAddMusicTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2018/8/20.
//  Copyright © 2018年 LC. All rights reserved.
//

#import "LSZAddMusicTableViewCell.h"

@implementation LSZAddMusicTableViewCell
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.imageViewIcon = [[UIImageView alloc]init];
        self.imageViewIcon.image = [UIImage imageNamed:@"placeholder"];
        self.imageViewIcon.frame = CGRectMake(10, 5, 70, 70);
        [self addSubview:self.imageViewIcon];

        self.labelTitle = [[UILabel alloc]init];
        self.labelTitle.frame = CGRectMake(CGRectGetMaxX(self.imageViewIcon.frame)+10, CGRectGetMinY(self.imageViewIcon.frame)+10, ScreenWidth-20-CGRectGetMaxX(self.imageViewIcon.frame), 20);
        self.labelTitle.text = @"给动态配上音乐";
        self.labelTitle.textColor = titleColorLSZ;
        [self addSubview:self.labelTitle];

        self.labelAuthor = [[UILabel alloc]init];
        self.labelAuthor.frame = CGRectMake(CGRectGetMaxX(self.imageViewIcon.frame)+10,CGRectGetMaxY(self.imageViewIcon.frame)-10-20, ScreenWidth-20-CGRectGetMaxX(self.imageViewIcon.frame), 20);
        self.labelAuthor.textColor = lightColor;
        [self addSubview:self.labelAuthor];
    }
    return self;
}
@end
